import { axios } from "../utils/request";

const api = {
    industryList: "/sys/industry/list",
    belongsList: "/sys/trade/list",
};

/**
 * 获取行业性质
 */
export function industryList(parameter) {
  return axios({
    url: api.industryList,
    method: "get",
    params: parameter
  });
}

/**
 * 获取所属行业
 */
export function belongsList(parameter) {
    return axios({
      url: api.belongsList,
      method: "get",
      params: parameter
    });
  }